﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Core.DataAccess.Model.Projects
{
    public partial class ProjectUser
    {
        public int Id { get; set; }

        /// <summary>
        /// 用户手机号
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 用户密码
        /// </summary>
        public string Pass { get; set; }

        /// <summary>
        /// 用户密钥
        /// </summary>
        public string Token { get; set; }

        /// <summary>
        /// 用户自定义信息
        /// </summary>
        public string Parameter { get; set; }

        /// <summary>
        /// 用户最后登陆IP地址
        /// </summary>
        public string EndIp { get; set; }

        /// <summary>
        /// 最后登陆时间
        /// </summary>
        public DateTime? EndTime { get; set; }

        /// <summary>
        /// 注册时间
        /// </summary>
        public DateTime? AddTime { get; set; }


        /// <summary>
        /// 获取用户API服务列表
        /// </summary>
        [NotMapped]
        public List<ProjectUserApi> UserApiList { get; set; }

    }
}
